<template>
  <div class="check-button" :class='{checked: isChecked}'>
    <img src="~assets/img/cart/tick.svg" alt="">
  </div>
</template>

<script>
export default {
  name: 'CheckButton',
  props:{
    isChecked: {
      type: Boolean,
      default: true
    }
  }
}
</script>

<style scoped>
  .check-button {
    border-radius: 50px;
    border: 1px solid rgba(0 ,0,0,.3)
  }
  .checked {
    background-color: var(--color-high-text);
    border-color: var(--color-high-text);
  }
</style>